package com.jkt.rms.dataservice;

import java.util.List;

import com.jkt.rms.business.Vendor;
import com.jkt.rms.commons.utils.RMSException;

public interface VendorDataService  {
	public void saveVendor(Vendor vendor) throws RMSException;
	public void updateVendor(Vendor vendor) throws RMSException;
	public boolean isVendorExist(String vendorCode,String vendorName, Long id);
	public List<Vendor> findByCriteria(Vendor vendor);
	public List<Vendor> findAll();
	public List<Vendor> getActiveVendorList();
	public Vendor findById(Long id);

}
